QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Receive Shadows Styles

Labels

ASCII
ReceiveShadowsStyle
Binary
rcsh (= 0x72637368 )

Data Format

Boolean             receiveShadows
receiveShadows
A value of True indicates that objects are to receive shadows; a value of False indicates that objects are not to receive shadows.

Data Size

4

Description

A scene's receive shadows style specifies whether or not obscured objects shall receive shadows in rendering.

Some lights also specify whether or not the objects they illuminate shall cast shadows. However, objects in the scope of a receive shadows style set to False do not receive shadows, regardless of whether they are also appropriately situated to receive shadows from a light set to cast shadows.

Parent Hierarchy

Shared, shape, style.

Parent Objects

None.

Child Objects

None.

Example

BeginGroup ( DisplayGroup ( ) )
    PointLight ( ... )
    ReceiveShadows ( True )
    Mesh ( ... )
    Mesh ( ... )
    Mesh ( ... )
EndGroup ( )

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |